package com.ocss.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ocss.common.annotation.Excel;
import com.ocss.common.core.domain.BaseEntity;

/**
 * 专业信息对象 ocss_profession
 *
 * @author ligen
 * @date 2024-03-05
 */
public class OcssProfession extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 专业id */
    private Long id;

    /** 专业名称 */
    @Excel(name = "专业名称")
    private String professionName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProfessionName(String professionName)
    {
        this.professionName = professionName;
    }

    public String getProfessionName()
    {
        return professionName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("professionName", getProfessionName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
